<div class="box" (touchmove)="onTouchMove($event)">
    <ion-row>
        <ion-searchbar
                       [(ngModel)]="searchName"
                       cancelButtonText=""
                       placeholder="输入姓名/身份证号/手机号码进行检索"
                       showCancelButton="always">
        </ion-searchbar>
    </ion-row>
    <ion-row>
        <ion-datetime class="beginTime" placeholder="起始日期"
                      cancelText="取消" [(ngModel)]="beginTime"
                      [max]="dateTimeMin"
                      displayFormat="YYYY-MM-DD" doneText="确认" pickerFormat="YYYY-MM-DD">
        </ion-datetime>
        <span class="line"></span>
        <ion-datetime class="endTime" placeholder="结束日期"
                      cancelText="取消" [(ngModel)]="endTime"
                      [max]="dateTimeMin"
                      displayFormat="YYYY-MM-DD" doneText="确认" pickerFormat="YYYY-MM-DD">
        </ion-datetime>
        <button class="lookFor" (click)="onSubmit()">查询</button>
    </ion-row>
</div>

